<form action="/simple/action/" class="formsets-that-rock" id="thisFormsetRocks" method="post"> 
    <input type="hidden" name="csrfmiddlewaretoken" value="aTestToken">
    <div>
        <input type="hidden" name="form-TOTAL_FORMS" value="3" id="id_form-TOTAL_FORMS"> 
        <input type="hidden" name="form-INITIAL_FORMS" value="0" id="id_form-INITIAL_FORMS">
        <input type="hidden" name="form-MIN_NUM_FORMS" value="0" id="id_form-MIN_NUM_FORMS">
        <input type="hidden" name="form-MAX_NUM_FORMS" value="1000" id="id_form-MAX_NUM_FORMS">
    </div>
    <fieldset>
        <legend>Item 1</legend>
        <div class="form-group">
            <div id="div_id_form-0-is_company" class="checkbox"> 
                <label for="id_form-0-is_company" class="">
                    <input type="checkbox" name="form-0-is_company" class="checkboxinput" id="id_form-0-is_company">
                    company
                </label>
            </div>
        </div>
        <div id="div_id_form-0-email" class="form-group">
            <label for="id_form-0-email" class="control-label  requiredField"> email<span class="asteriskField">*</span></label>
            <div class="controls ">
                <input type="text" name="form-0-email" maxlength="30" class="textinput textInput inputtext form-control" id="id_form-0-email">
                <div id="hint_id_form-0-email" class="help-block">Insert your email</div>
            </div>
        </div>
    </fieldset>
    Note for first form only
    <div class="row ">
        <div id="div_id_form-0-password1" class="form-group">
            <label for="id_form-0-password1" class="control-label  requiredField"> password<span class="asteriskField">*</span></label>
            <div class="controls ">
                <input type="password" name="form-0-password1" maxlength="30" class="passwordinput form-control" id="id_form-0-password1">
            </div>
        </div>
        <div id="div_id_form-0-password2" class="form-group">
            <label for="id_form-0-password2" class="control-label  requiredField"> re-enter password<span class="asteriskField">*</span></label>
            <div class="controls ">
                <input type="password" name="form-0-password2" maxlength="30" class="passwordinput form-control" id="id_form-0-password2">
            </div>
        </div>
    </div>
    <fieldset>
        <div id="div_id_form-0-first_name" class="form-group">
            <label for="id_form-0-first_name" class="control-label  requiredField"> first name<span class="asteriskField">*</span></label>
            <div class="controls ">
                <input type="text" name="form-0-first_name" maxlength="5" class="textinput textInput inputtext form-control" id="id_form-0-first_name">
            </div>
        </div>
        <div id="div_id_form-0-last_name" class="form-group">
            <label for="id_form-0-last_name" class="control-label  requiredField"> last name<span class="asteriskField">*</span></label>
            <div class="controls ">
                <input type="text" name="form-0-last_name" maxlength="5" class="textinput textInput inputtext form-control" id="id_form-0-last_name"> 
            </div>
        </div>
    </fieldset>
    <fieldset>
        <legend>Item 2</legend>
        <div class="form-group">
            <div id="div_id_form-1-is_company" class="checkbox"> 
                <label for="id_form-1-is_company" class=""> 
                    <input type="checkbox" name="form-1-is_company" class="checkboxinput" id="id_form-1-is_company">
                    company
                </label> 
            </div>
        </div>
        <div id="div_id_form-1-email" class="form-group">
            <label for="id_form-1-email" class="control-label  requiredField"> email<span class="asteriskField">*</span></label>
            <div class="controls "> 
                <input type="text" name="form-1-email" maxlength="30" class="textinput textInput inputtext form-control" id="id_form-1-email">
                <div id="hint_id_form-1-email" class="help-block">Insert your email</div>
            </div>
        </div>
    </fieldset>
    <div class="row ">
        <div id="div_id_form-1-password1" class="form-group"> 
            <label for="id_form-1-password1" class="control-label  requiredField"> password<span class="asteriskField">*</span></label>
            <div class="controls ">
                <input type="password" name="form-1-password1" maxlength="30" class="passwordinput form-control" id="id_form-1-password1">
            </div>
        </div>
        <div id="div_id_form-1-password2" class="form-group"> 
            <label for="id_form-1-password2" class="control-label  requiredField"> re-enter password<span class="asteriskField">*</span></label>
            <div class="controls ">
                <input type="password" name="form-1-password2" maxlength="30" class="passwordinput form-control" id="id_form-1-password2"> 
            </div>
        </div>
    </div>
    <fieldset>
        <div id="div_id_form-1-first_name" class="form-group"> 
            <label for="id_form-1-first_name" class="control-label  requiredField"> first name<span class="asteriskField">*</span></label>
            <div class="controls ">
                <input type="text" name="form-1-first_name" maxlength="5" class="textinput textInput inputtext form-control" id="id_form-1-first_name">
            </div>
        </div>
        <div id="div_id_form-1-last_name" class="form-group"> 
            <label for="id_form-1-last_name" class="control-label  requiredField"> last name<span class="asteriskField">*</span> </label>
            <div class="controls "> 
                <input type="text" name="form-1-last_name" maxlength="5" class="textinput textInput inputtext form-control" id="id_form-1-last_name"> 
            </div>
        </div>
    </fieldset>
    <fieldset>
        <legend>Item 3</legend>
        <div class="form-group">
            <div id="div_id_form-2-is_company" class="checkbox"> 
                <label for="id_form-2-is_company" class=""> 
                    <input type="checkbox" name="form-2-is_company" class="checkboxinput" id="id_form-2-is_company">
                    company
                </label> 
            </div>
        </div>
        <div id="div_id_form-2-email" class="form-group"> 
            <label for="id_form-2-email" class="control-label  requiredField"> email<span class="asteriskField">*</span> </label>
            <div class="controls "> 
                <input type="text" name="form-2-email" maxlength="30" class="textinput textInput inputtext form-control" id="id_form-2-email">
                <div id="hint_id_form-2-email" class="help-block">Insert your email</div>
            </div>
        </div>
    </fieldset>
    <div class="row ">
        <div id="div_id_form-2-password1" class="form-group"> 
            <label for="id_form-2-password1" class="control-label  requiredField"> password<span class="asteriskField">*</span> </label>
            <div class="controls "> 
                <input type="password" name="form-2-password1" maxlength="30" class="passwordinput form-control" id="id_form-2-password1"> </div>
        </div>
        <div id="div_id_form-2-password2" class="form-group"> 
            <label for="id_form-2-password2" class="control-label  requiredField"> re-enter password<span class="asteriskField">*</span> </label>
            <div class="controls "> 
                <input type="password" name="form-2-password2" maxlength="30" class="passwordinput form-control" id="id_form-2-password2"> </div>
        </div>
    </div>
    <fieldset>
        <div id="div_id_form-2-first_name" class="form-group"> 
            <label for="id_form-2-first_name" class="control-label  requiredField"> first name<span class="asteriskField">*</span> </label>
            <div class="controls "> 
                <input type="text" name="form-2-first_name" maxlength="5" class="textinput textInput inputtext form-control" id="id_form-2-first_name"> </div>
        </div>
        <div id="div_id_form-2-last_name" class="form-group"> 
            <label for="id_form-2-last_name" class="control-label  requiredField"> last name<span class="asteriskField">*</span> </label>
            <div class="controls "> 
                <input type="text" name="form-2-last_name" maxlength="5" class="textinput textInput inputtext form-control" id="id_form-2-last_name"> </div>
        </div>
    </fieldset>
</form>
